<#import "/manage/tpl/htmlTep.ftl" as html>
<@html.htmlBase checkLogin=false >
<body>
<div class="row span16 offset8">
    <div class="panel xm-login-panel">
        <div class="panel-header">
            <h3 class="panel-title"><b>${systemSetting().name}</b>-后台</h3>
        </div>
        <div class="panel-body">
            <form class="form-horizontal well" action="${basepath}/manage/user/login" method="post">
                <#if errorMsg??>
                    <div class="row">
                        <div class="control-group span6 offset3">

                            <div class="tips tips-small tips-warning">
                                <span class="x-icon x-icon-small x-icon-error"><i class="icon icon-white icon-bell"></i></span>
                                <div class="tips-content">  ${errorMsg}</div>
                            </div>
                        </div>
                    </div>
                </#if>
                <div class="row">
                    <div class="control-group span8">
                        <label class="control-label">账号：</label>
                        <div class="controls">
                            <input type="text" value="${e.username!""}" placeholder="账号" name="username" class="control-text" id="username" autofocus/>
                        </div>
                    </div>

                </div>
                <div class="row">
                    <div class="control-group span8">
                        <label class="control-label">密码：</label>
                        <div class="controls">
                            <input type="password" name="password" placeholder="密码" class="control-text" label="密码"/>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="control-group span6 offset3">
                        <div class="tips tips-small tips-info ">
                            <span class="x-icon x-icon-small x-icon-info"><i class="icon icon-white icon-info"></i></span>
                            <div class="tips-content">默认用户名密码:admin/123456</div>
                        </div>
                    </div>
                </div>
                <div class="row">

                    <div class="form-actions offset3">
                        <button type="submit" class="button button-large button-primary">登陆</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <div class="row">
</body>
</@html.htmlBase>